<template>
  <view class="payment">
    <view class="payment-header">
      <span class="span">需支付</span>
      <view class="header-price"><span style="font-size: 52rpx;">￥</span>1.00</view>
      <view class="p">报告查看费</view>
    </view>
    <view class="payment-warning">温馨提示：您的口腔健康报表已生成，查看需要收取￥1.00报表查看费，即可查看牙荷认证医生为您生成的专属报表。</view>
    
    <view class="payment-main">
      <view class="title">选择支付方式</view>
      <view class="main-item">
        <image src="@/static/wechat-icon.png" mode="aspectFill" class="img"></image>
        微信支付
        <image src="../../static/gray.jpg" mode="aspectFill" class="icon"></image>
      </view>
    </view>
    
    <view class="payment-footer">
      <view class="p">重选医生生成口腔报告 <uni-icons type="right" size="14" color="#6D6D6D"></uni-icons> </view>
      <view class="button">确认支付</view>
    </view>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        
      };
    }
  }
</script>

<style lang="less" scoped>
.payment{
  padding: 0 24rpx;
  .payment-header{
    padding: 92rpx 0 60rpx;
    font-size: 26rpx;
    color: #6D6D6D;
    text-align: center;
    .span{
      color: var(--sub-title);
    }
    .header-price{
      font-size: 72rpx;
      font-weight: bold;
      margin: 24rpx 0;
      color: var(--title-color);
    }
  }
  
  .payment-warning{
    padding: 20rpx 40rpx;
    border-radius: 20rpx;
    background: #FFF3ED;
    color: var(--sub-theme);
    font-size: 24rpx;
    line-height: 36rpx;
    letter-spacing: 2rpx;
  }
  
  .payment-main{
    margin-top: 60rpx;
    border-top: 2rpx solid #efefef;
    padding: 40rpx 0;
    .title{
      color: #B0B0B0;
      font-size: 26rpx;
      margin-bottom: 40rpx;
      text-align: center;
    }
    .main-item{
      display: flex;
      align-items: center;
      line-height: 100rpx;
      font-size: 28rpx;
      color: var(--title-color);
      .img{
        width: 44rpx;
        height: 44rpx;
        margin-right: 22rpx;
      }
      .icon{
        width: 40rpx;
        height: 40rpx;
        margin-left: auto;
      }
    }
  }
  
  .payment-footer{
    position: fixed;
    bottom: 60rpx;
    left: 24rpx;
    right: 24rpx;
    .p{
      font-size: 24rpx;
      color: #6D6D6D;
      margin-bottom: 44rpx;
      text-align: center;
    }
    .button{
      color: #fff;
      font-size: 28rpx;
      line-height: 80rpx;
      border-radius: 80rpx;
      text-align: center;
      background: linear-gradient( 90deg, #29D8C6 0%, #10BEAF 100%);
    }
  }
}
</style>
